package Test1;

public class Dog extends Animal{


    public void bark() {
        System.out.println(this.name + "正在狗叫...");
    }

    public Dog() {

    }
    public Dog(String name, int age, String gender) {
        this.name = name;
        this.age = age;
        this.gender = gender;
    }
}
